package com.spongeli.user.listenter;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class MyListenter implements ServletContextListener{

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		System.out.println("---------------------销毁执行--------------------");
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		ServletContextEvent s = arg0;
		System.out.println(s);
		System.out.println("---------------------开始执行--------------------");
	}

}
